package org.feiye.studyday14;

//员工类
public class Staff {
	public String name;
	public String cNumber;// 工号
	public double salary;// 薪水
	public String gender;// 性别

	public void showinfo() {
		System.out.print("员工的姓名是：" + name);
		System.out.print("，工号是：" + cNumber);
		System.out.print("，性别是：" + gender);
		System.out.print("，月薪是：" + salary);
	}
}
